package com.linkhub.oms.admin.modules.order.domain.param.employee;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * @Description: EmployeeOrderQueryParam
 * @Author: echo
 * @Date: 2024/4/14 16:12
 * @Version: 1.0
 */
@Data
@ApiModel(value = "EmployeeOrderQueryParam", description = "EmployeeOrderQueryParam")
public class EmployeeOrderQueryParam implements Serializable {

    @ApiModelProperty(value = "页数, 从1开始")
    @NotNull(message = "{validation.page.notNull}")
    @Range(min = 1, message = "{validation.page.min}")
    private Integer page;

    @ApiModelProperty(value = "每页大小")
    @NotNull(message = "{validation.pageSize.notNull}")
    private Integer size;

    @ApiModelProperty(value = "页签类型：0-客户未履约;50-待审核；55-待预报；60-待打印；65-待推送；70-待打包；75-已出库；80-追踪中；85-已取消；90-异常")
    @NotNull(message = "{validation.order.tabType.notNull}")
    @Range(min = 1, message = "{validation.order.tabType.range}")
    private Integer tabType;

    @ApiModelProperty(value = "订单状态：null-全部；0-无状态;50-有货；55-无货；60-待预报；65-预报失败;70-待打印；71-打印失败；75-待推送；76-推送失败；80-待打包；85-已出库；90-已发货；95-已签收")
    private Integer orderStatus;

    @ApiModelProperty(value = "订单号关键词")
    private String orderNumber;

    @ApiModelProperty(value = "系统商店id")
    private List<String> sysShopIds;
}
